//
//  XMDiscountsModel.h
//  XunMi
//
//  Created by MacBook on 2024/4/16.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, XMDiscountsType) {
    XMDiscountsChat = 1,
    XMDiscountsAudio,
    XMDiscountsVideo,
    XMDiscountsRecharge,
    XMDiscountsWithdraw,
};

NS_ASSUME_NONNULL_BEGIN


@interface XMDiscountsModel : NSObject

@property (nonatomic, copy) NSString *index;
@property (nonatomic, copy) NSString *title;
/// 用户卡券类型  1 免费聊天卡  2 语音折扣卡  3 视频折扣卡  4 充值减免卡  5 提现次数卡
@property (nonatomic, assign) XMDiscountsType xmModule;
@property (nonatomic, copy) NSString *number;
@property (nonatomic, assign) NSInteger amount;
@property (nonatomic, copy) NSString *reduce;
@property (nonatomic, copy) NSString *describe;
@property (nonatomic, copy) NSString *handle_time;
@property (nonatomic, copy) NSString *expire_time;


@property (nonatomic, copy) NSString *type;
@property (nonatomic, copy) NSString *typeImg1;
@property (nonatomic, copy) NSString *typeImg2;
@property (nonatomic, copy) NSString *leftImg;
@property (nonatomic, copy) NSString *unitStr;
@property (nonatomic, strong) UIColor *xmColor;

@property (nonatomic, assign) BOOL selected;
@end

NS_ASSUME_NONNULL_END
